﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KhoBanHang
{
    public partial class baoCao : Form
    {
        public baoCao()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            reportViewer1.Visible = true;
            DateTime? tungay = dateTimePicker1.Value;
            DateTime? denngay = dateTimePicker2.Value;
            QLKD_KhoaLuanDataSet.TongHopBanHang_MatHang_SoLuongBanDataTable table = new QLKD_KhoaLuanDataSet.TongHopBanHang_MatHang_SoLuongBanDataTable();
            QLKD_KhoaLuanDataSetTableAdapters.TongHopBanHang_MatHang_SoLuongBanTableAdapter ada = new KhoBanHang.QLKD_KhoaLuanDataSetTableAdapters.TongHopBanHang_MatHang_SoLuongBanTableAdapter();
            
            ada.Fill(table, tungay, denngay);
            reportViewer1.da
            this.reportViewer1.RefreshReport();
        }

        private void baoCao_Load(object sender, EventArgs e)
        {

            
        }

        
    }
}
